package com.saint.farmshop.Service.ServiceImpl;

import com.saint.farmshop.Entity.ProductionSecondType;
import com.saint.farmshop.Mapper.MapperImpl.ProductionSecondTypeMapperImpl;
import com.saint.farmshop.Service.ProductionSecondTypeSevice;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 产品二级分类服务实现类
 *
 * @author Saint
 * @date 2022/05/22
 */
@Service
public class ProductionSecondTypeSeviceImpl implements ProductionSecondTypeSevice {

    @Resource
    ProductionSecondTypeMapperImpl productionSecondTypeMapper;

    @Override
    public List<ProductionSecondType> getSecondTypeListById(String typeId) {
        return productionSecondTypeMapper.getSecondTypeListById(typeId);
    }
}
